Item Property

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns a collection of all of the values in the dictionary associated with key, or changes the set of values associated with key. If the key is not present in the dictionary, an ICollection enumerating no values is returned. The returned collection of values is read-write, and can be used to modify the collection of values associated with the key.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public virtual ICollection<TValue> this[
	TKey key
]{ get; set;}
Visual Basic (Declaration)
Public Overridable Default Property Item ( _
	key As TKey _
) As ICollection(Of TValue)
Visual C++
public:
virtual property ICollection<TValue>^ default[TKey key] {
	ICollection<TValue>^ get (TKey key);
	void set (TKey key, ICollection<TValue>^ value);
}

Parameters

key
TKey
The key to get the values associated with.

Field Value

An ICollection<TValue> with all the values associated with key.

See Also